package [(${packageName})].entity;

/**
 * @author itpath.xyz
 * @time [(${time})]
 * <p/>
 * [(${classDescription})]
 */
@Entity
public class [(${className})]Entity {
    [# th:each="item : ${classField}"]
    /**
     *  [# th:utext="${item.comment}" /]
     */
    private [# th:utext="${item.dataType}" /] [# th:utext="${item.fieldName}" /];

    [/][# th:each="item : ${classField}"]
    public set[# th:utext="${item.upperCamelFieldName}" /]([# th:utext="${item.dataType}" /] [# th:utext="${item.fieldName}" /]) {
       this.[# th:utext="${item.fieldName}" /] = [# th:utext="${item.fieldName}" /];
    }

    public [# th:utext="${item.dataType}" /] get[# th:utext="${item.upperCamelFieldName}" /]() {
         return this.[# th:utext="${item.fieldName}" /];
    }
    [/]
}